vcWaitSignalStatement

Wait Signal statement waits for signal to be triggered with a value that matches a given condition or until an optional timeout is reached.

See in: Overview

Module: vcProcessModel

Parent: vcStatement

Children -

Referenced by: -

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
ComponentvcComponentRWGets or sets the component that owns the signal. None means the parent component of the statement.
ConditionStringRWGets or sets a condition expression that the signal's value has to pass. Leave empty to accept any value.
SignalvcBehaviorRWGets or sets the signal behavior to listen for.
TimedOutVariableNameStringRWGets or sets the name of a process variable where to store a Boolean value whether the timeout was reached or not. Can be empty.
TimeoutRealRWGets or sets a maximum amount of simulation time in seconds to wait for a value that matches the condition. 0 means no time limit.
ValueOutputVariableNameStringRWGets or sets the name of a process variable where to store the signal value that passed the condition. Can be empty.
WaitTriggerBooleanRWGets or sets a value which determines whether to always wait for a new signal value. When False, also considers the current value of the signal when this statement's execution starts.